/*
 * ColorChooserDelegate.h  0.4.0 / Dec 04, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
#ifndef COLORCHOOSERDELEGATE_H
#define COLORCHOOSERDELEGATE_H

#include "Cute4jSwing.h"

// ColorChooserDelegate Class. -------------------------------------------------

/*!
 * \brief ColorChooser Delegate.
 *
 * \author Slobodan Vrkacevic
 * \version 0.4.0
 */
class CUTE4J_EXPORT ColorChooserDelegate
{
public: // native calls
  static jobject getColor(JNIEnv *env, jclass cls, jlong parentDelegate,
                          jint initialColor);
};

// Macro Definition. -----------------------------------------------------------

#define COLOR_CHOOSER_DELEGATE \
    (reinterpret_cast<ColorChooserDelegate *>(delegate))

#endif // COLORCHOOSERDELEGATE_H
